﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Main.Master"
    CodeBehind="Default.aspx.vb" Inherits="QLThuVien._Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_body" runat="server">
    <div class="section">
        <div class="container">
            <h2>
                Sách Mới Nhất</h2>
            <div class="row">
                <asp:DataList ID="DataList" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
                    <ItemTemplate>
                        <div class="col-md-4 col-sm-6">
                            <div class="portfolio-item">
                                <div class="portfolio-image">
                                    <a href="BookDetails.aspx?id_sach=<%#Eval("id_sach")%>">
                                        <img src="<%#Eval("hinh")%>" alt="Project Name" height="320px" width="250px"></a>
                                </div>
                                <div class="portfolio-info">
                                    <ul>
                                        <li class="portfolio-project-name" style="color:Blue;font-size:large">
                                            <%#Eval("tensach")%>
                                        </li>
                                        <li style="color:Orange">
                                            <%# Eval("tacgia")%>
                                        </li>
                                        <li style="color:Maroon">
                                            <%# Eval("nxb")%>
                                        </li>
                                        <li class="read-more"><a href="BookDetails.aspx?id_sach=<%#Eval("id_sach")%>" class="btn">
                                            Xem Thêm</a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </div>
 
    </div>
</asp:Content>
